package com.wenshi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

@Data
public class Alarm {
    @TableId(value = "alarm_id", type = IdType.AUTO)
    private String alarmId;

    private String alarmName;

    private String alarmType;

    private String alarmDesc;

    private Long deviceId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String alarmTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String clearTime;

    private boolean alarmStatus;
}
